function f(m = 1, n = 2) {

}

// 解构
function printInfo({name, age} = {name: "yz", age: 18}) {
  console.log(name, age);
}
printInfo({name: "zy", age: 20})

function printInfo2({name = "yz", age = 18} = {name: "yz", age: 18}) {
  console.log(name, age);
}